home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Taifun / Taifun 058 (1988-05-15)(Ossowski, Stefan)(DE)(PD).zip / Taifun 058 (1988-05-15)(Ossowski, Stefan)(DE)(PD).adf / QT2 / qt2.doc < prev    next >
Text File  |  1988-04-17  |  907b  |  26 lines

  1. QT2 - a cute way of getting the time
  2.  
  3.      I originally saw this program running under MS-DOS.  It gives the
  4. time the way people do, e.g. "It's nearly ten to five."  Since this is
  5. the way people actually say it, I decided to have the Amiga say it too.
  6.  
  7.      I wrote this program for two reasons.  First of all, it's cute.
  8. But even more important, it made a good exercise in my do-it-yourself
  9. assembly programming course; to get it running I had to learn to do
  10. things I hadn't done before:
  11.  
  12.     - run from either the Workbench or the CLI
  13.  
  14.     - access C library functions
  15.  
  16.     - access the narrator.device
  17.  
  18.     - display a requester if I couldn't talk
  19.  
  20.      Many Guru Meditations and several calls for help later, I
  21. managed to get this program going.  It needs no include files,
  22. but must be linked with amiga.lib.  I hope others find it as
  23. interesting and educational as I have done.
  24.  
  25.                 Charlie Gibbs, October 5, 1987
  26.